<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.16"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>LibTools: H:/project/LibTools/src/log/LogFactory.h 源文件</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">LibTools
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.16 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','搜索');
});
/* @license-end */</script>
<div id="main-nav"></div>
<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_2241064965c8d9ca993f08b926076f7d.html">log</a></li>  </ul>
</div>
</div><!-- top -->
<div class="header">
  <div class="headertitle">
<div class="title">LogFactory.h</div>  </div>
</div><!--header-->
<div class="contents">
<a href="_log_factory_8h.html">浏览该文件的文档.</a><div class="fragment"><div class="line"><a name="l00001"></a><span class="lineno">    1</span>&#160;<span class="preprocessor">#ifndef __LOGFACTORY_H__</span></div>
<div class="line"><a name="l00002"></a><span class="lineno">    2</span>&#160;<span class="preprocessor">#define __LOGFACTORY_H__</span></div>
<div class="line"><a name="l00003"></a><span class="lineno">    3</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="log_8h.html">log.h</a>&quot;</span></div>
<div class="line"><a name="l00004"></a><span class="lineno">    4</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_safe_log_8h.html">SafeLog.h</a>&quot;</span></div>
<div class="line"><a name="l00005"></a><span class="lineno">    5</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="logdef_8h.html">logdef.h</a>&quot;</span></div>
<div class="line"><a name="l00006"></a><span class="lineno">    6</span>&#160;<span class="preprocessor">#include &quot;<a class="code" href="_log_stream_8h.html">LogStream.h</a>&quot;</span></div>
<div class="line"><a name="l00007"></a><span class="lineno">    7</span>&#160; </div>
<div class="line"><a name="l00008"></a><span class="lineno">    8</span>&#160;<span class="comment">//#define InitSafeLog namespace LibTools { LogFactory g_temSafeLog; g_temSafeLog.NoWarning(); }</span></div>
<div class="line"><a name="l00009"></a><span class="lineno">    9</span>&#160; </div>
<div class="line"><a name="l00010"></a><span class="lineno">   10</span>&#160;<a class="code" href="tools_8h.html#a201ce692c9dca6599e5c12d00167419b">DEF_BEG_LIBTOOLS</a></div>
<div class="line"><a name="l00011"></a><span class="lineno">   11</span>&#160; </div>
<div class="line"><a name="l00013"></a><span class="lineno"><a class="line" href="_log_factory_8h.html#a3bcb3081cc092adc9e13acb28e70d9e0">   13</a></span>&#160;<span class="preprocessor">#define LOG_TOOLS(LEVEL) LibTools::CLogStream(LibTools::LogFactory::GetInstancePtr(), LEVEL)&lt;&lt;&quot;[&quot;&lt;&lt;__FILE__&lt;&lt;&quot;,&quot;&lt;&lt;__LINE__&lt;&lt;&quot;]&quot;</span></div>
<div class="line"><a name="l00014"></a><span class="lineno">   14</span>&#160;<span class="preprocessor">#define LOG_SET_DIR(dir) LibTools::LogFactory::GetInstancePtr()-&gt;SetLogPath(dir)</span></div>
<div class="line"><a name="l00016"></a><span class="lineno">   16</span>&#160;<span class="preprocessor">#define LOG_SET_FILE_SIZE(fileSize) LibTools::LogFactory::GetInstancePtr()-&gt;SetLogFileSize(fileSize)</span></div>
<div class="line"><a name="l00018"></a><span class="lineno">   18</span>&#160;<span class="preprocessor">#define LOG_SET_SWITCH_FILE_TIME(switchFileTime) LibTools::LogFactory::GetInstancePtr()-&gt;SetSwitchFile(switchFileTime)</span></div>
<div class="line"><a name="l00020"></a><span class="lineno">   20</span>&#160;<span class="preprocessor">#define LOG_SET_LEVEL(level) LibTools::LogFactory::GetInstancePtr()-&gt;SetLogLevel(level)</span></div>
<div class="line"><a name="l00022"></a><span class="lineno">   22</span>&#160;<span class="preprocessor">#define LOG_SET_WRITE_CONSOLE(isWriteConsole) LibTools::LogFactory::GetInstancePtr()-&gt;SetWriteConsole(isWriteConsole)</span></div>
<div class="line"><a name="l00024"></a><span class="lineno">   24</span>&#160; </div>
<div class="line"><a name="l00026"></a><span class="lineno">   26</span>&#160;<a class="code" href="_log_factory_8h.html#af8a544c409a7f10d43a1bb45c8b9ad0b">EXPORT_SHARED_PTR</a>(<a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a>, <a class="code" href="class_c_safe_logs.html">CSafeLogs</a>);</div>
<div class="line"><a name="l00027"></a><span class="lineno">   27</span>&#160; </div>
<div class="line"><a name="l00031"></a><span class="lineno"><a class="line" href="class_log_factory.html">   31</a></span>&#160;<span class="keyword">class </span><a class="code" href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a> <a class="code" href="class_log_factory.html">LogFactory</a></div>
<div class="line"><a name="l00032"></a><span class="lineno">   32</span>&#160;{</div>
<div class="line"><a name="l00033"></a><span class="lineno">   33</span>&#160;<span class="keyword">public</span>:</div>
<div class="line"><a name="l00034"></a><span class="lineno"><a class="line" href="class_log_factory.html#a9c9749a0261848655106d9742fc9170b">   34</a></span>&#160;    <span class="keyword">static</span> <a class="code" href="class_shared_ptr.html">SharedPtr&lt;Logs&gt;</a> <a class="code" href="class_log_factory.html#a9c9749a0261848655106d9742fc9170b">CreateLogs</a>(<span class="keywordtype">int</span> iLevel = <a class="code" href="logdef_8h.html#aca1fd1d8935433e6ba2e3918214e07f9abb2c17c44c343a8367060db4175f39ea">LibTools::LOG_NORMAL</a>, <a class="code" href="log_8h.html#a598614497618c67555cca9bedcb366f0">CPLOGSTR</a> sPath = <span class="stringliteral">&quot;&quot;</span>)</div>
<div class="line"><a name="l00035"></a><span class="lineno">   35</span>&#160;    {</div>
<div class="line"><a name="l00036"></a><span class="lineno">   36</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="class_shared_ptr.html">SharedPtr&lt;Logs&gt;</a>(<span class="keyword">new</span> <a class="code" href="class_logs.html">Logs</a>(iLevel, sPath));</div>
<div class="line"><a name="l00037"></a><span class="lineno">   37</span>&#160;    }</div>
<div class="line"><a name="l00038"></a><span class="lineno">   38</span>&#160; </div>
<div class="line"><a name="l00039"></a><span class="lineno"><a class="line" href="class_log_factory.html#ad013d71f5198402ec766f00aa28533c5">   39</a></span>&#160;    <span class="keyword">static</span> <a class="code" href="class_shared_ptr.html">SharedPtr&lt;Logs&gt;</a> <a class="code" href="class_log_factory.html#ad013d71f5198402ec766f00aa28533c5">CreateLogs</a>(<span class="keywordtype">bool</span> bOpenFile)</div>
<div class="line"><a name="l00040"></a><span class="lineno">   40</span>&#160;    {</div>
<div class="line"><a name="l00041"></a><span class="lineno">   41</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="class_shared_ptr.html">SharedPtr&lt;Logs&gt;</a>(<span class="keyword">new</span> <a class="code" href="class_logs.html">Logs</a>(bOpenFile));</div>
<div class="line"><a name="l00042"></a><span class="lineno">   42</span>&#160;    }</div>
<div class="line"><a name="l00043"></a><span class="lineno">   43</span>&#160; </div>
<div class="line"><a name="l00044"></a><span class="lineno"><a class="line" href="class_log_factory.html#afaebf813e3bca3090cd3aa4ae9abbd86">   44</a></span>&#160;    <span class="keyword">static</span> <a class="code" href="class_shared_ptr.html">SharedPtr&lt;CSafeLogs&gt;</a> <a class="code" href="class_log_factory.html#afaebf813e3bca3090cd3aa4ae9abbd86">CreateSafeLogs</a>(<span class="keyword">const</span> <a class="code" href="tools_8h.html#a65c91f8d7af3c67b8a21e089fdddd0fe">TCHAR</a>* szLogPath, <a class="code" href="logdef_8h.html#aca1fd1d8935433e6ba2e3918214e07f9">LogLevel</a> nLogLevel = <a class="code" href="logdef_8h.html#aca1fd1d8935433e6ba2e3918214e07f9ab9f002c6ffbfd511da8090213227454e">LOG_DEBUG</a>,</div>
<div class="line"><a name="l00045"></a><span class="lineno">   45</span>&#160;        <a class="code" href="tools_8h.html#a57be03562867144161c1bfee95ca8f7c">UINT64</a> nFileMaxSize = <a class="code" href="_safe_log_8h.html#af5f39b12ec7524d513a48e9b662a445a">DEFAULT_LOG_SIZE</a>, <a class="code" href="tools_8h.html#a36cb3b01d81ffd844bbbfb54003e06ec">UINT</a> nfTime = <a class="code" href="_safe_log_8h.html#acf3ddfcd82496629d7ab869a57f2fedd">DEFAULT_FLUSH_TIME</a>)</div>
<div class="line"><a name="l00046"></a><span class="lineno">   46</span>&#160;    {</div>
<div class="line"><a name="l00047"></a><span class="lineno">   47</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="class_shared_ptr.html">SharedPtr&lt;CSafeLogs&gt;</a>(<span class="keyword">new</span> <a class="code" href="class_c_safe_logs.html">CSafeLogs</a>(szLogPath, nLogLevel, nFileMaxSize, nfTime));</div>
<div class="line"><a name="l00048"></a><span class="lineno">   48</span>&#160;    }</div>
<div class="line"><a name="l00049"></a><span class="lineno">   49</span>&#160; </div>
<div class="line"><a name="l00050"></a><span class="lineno"><a class="line" href="class_log_factory.html#afa9464faa77b5b85c1b28b852b35e0f4">   50</a></span>&#160;    <span class="keyword">static</span> <a class="code" href="class_shared_ptr.html">SharedPtr&lt;CSafeLogs&gt;</a> <a class="code" href="class_log_factory.html#afa9464faa77b5b85c1b28b852b35e0f4">CreateSafeLogs</a>()</div>
<div class="line"><a name="l00051"></a><span class="lineno">   51</span>&#160;    {</div>
<div class="line"><a name="l00052"></a><span class="lineno">   52</span>&#160;        <span class="keywordflow">return</span> <a class="code" href="class_shared_ptr.html">SharedPtr&lt;CSafeLogs&gt;</a>(<span class="keyword">new</span> <a class="code" href="class_c_safe_logs.html">CSafeLogs</a>());</div>
<div class="line"><a name="l00053"></a><span class="lineno">   53</span>&#160;    }</div>
<div class="line"><a name="l00054"></a><span class="lineno">   54</span>&#160; </div>
<div class="line"><a name="l00055"></a><span class="lineno"><a class="line" href="class_log_factory.html#a5fcd1893857b006220c70919d72d358c">   55</a></span>&#160;    <span class="keyword">static</span> <a class="code" href="class_c_safe_logs.html">CSafeLogs</a>&amp; <a class="code" href="class_log_factory.html#a5fcd1893857b006220c70919d72d358c">GetInstance</a>()</div>
<div class="line"><a name="l00056"></a><span class="lineno">   56</span>&#160;    {</div>
<div class="line"><a name="l00057"></a><span class="lineno">   57</span>&#160;        <span class="keywordflow">return</span> *g_SafeLogs;</div>
<div class="line"><a name="l00058"></a><span class="lineno">   58</span>&#160;    }</div>
<div class="line"><a name="l00059"></a><span class="lineno">   59</span>&#160; </div>
<div class="line"><a name="l00060"></a><span class="lineno"><a class="line" href="class_log_factory.html#afeb7a08f136dec51df1c97e254a14a3e">   60</a></span>&#160;    <span class="keyword">static</span> <a class="code" href="class_c_safe_logs.html">CSafeLogs</a>* <a class="code" href="class_log_factory.html#afeb7a08f136dec51df1c97e254a14a3e">GetInstancePtr</a>()</div>
<div class="line"><a name="l00061"></a><span class="lineno">   61</span>&#160;    {</div>
<div class="line"><a name="l00062"></a><span class="lineno">   62</span>&#160;        <span class="keywordflow">return</span> g_SafeLogs.Get();</div>
<div class="line"><a name="l00063"></a><span class="lineno">   63</span>&#160;    }</div>
<div class="line"><a name="l00064"></a><span class="lineno">   64</span>&#160;<span class="keyword">private</span>:</div>
<div class="line"><a name="l00065"></a><span class="lineno"><a class="line" href="class_log_factory.html#a2a20e26aee872e31ca8650240012ca5b">   65</a></span>&#160;    <span class="keyword">static</span> <a class="code" href="class_shared_ptr.html">SharedPtr&lt;CSafeLogs&gt;</a> <a class="code" href="class_log_factory.html#a2a20e26aee872e31ca8650240012ca5b">g_SafeLogs</a>;</div>
<div class="line"><a name="l00066"></a><span class="lineno">   66</span>&#160;};</div>
<div class="line"><a name="l00067"></a><span class="lineno">   67</span>&#160; </div>
<div class="line"><a name="l00068"></a><span class="lineno">   68</span>&#160;<a class="code" href="tools_8h.html#ac909db71799bb22cb7d636a34cd785e4">DEF_END_LIBTOOLS</a></div>
<div class="line"><a name="l00069"></a><span class="lineno">   69</span>&#160; </div>
<div class="line"><a name="l00070"></a><span class="lineno">   70</span>&#160;<span class="preprocessor">#endif</span></div>
</div><!-- fragment --></div><!-- contents -->
<div class="ttc" id="alogdef_8h_html_aca1fd1d8935433e6ba2e3918214e07f9"><div class="ttname"><a href="logdef_8h.html#aca1fd1d8935433e6ba2e3918214e07f9">LogLevel</a></div><div class="ttdeci">LogLevel</div><div class="ttdef"><b>Definition:</b> <a href="logdef_8h_source.html#l00010">logdef.h:10</a></div></div>
<div class="ttc" id="atools_8h_html_a65c91f8d7af3c67b8a21e089fdddd0fe"><div class="ttname"><a href="tools_8h.html#a65c91f8d7af3c67b8a21e089fdddd0fe">TCHAR</a></div><div class="ttdeci">#define TCHAR</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00187">tools.h:187</a></div></div>
<div class="ttc" id="a_log_stream_8h_html"><div class="ttname"><a href="_log_stream_8h.html">LogStream.h</a></div></div>
<div class="ttc" id="alog_8h_html_a598614497618c67555cca9bedcb366f0"><div class="ttname"><a href="log_8h.html#a598614497618c67555cca9bedcb366f0">CPLOGSTR</a></div><div class="ttdeci">#define CPLOGSTR</div><div class="ttdef"><b>Definition:</b> <a href="log_8h_source.html#l00062">log.h:62</a></div></div>
<div class="ttc" id="a_log_factory_8h_html_af8a544c409a7f10d43a1bb45c8b9ad0b"><div class="ttname"><a href="_log_factory_8h.html#af8a544c409a7f10d43a1bb45c8b9ad0b">EXPORT_SHARED_PTR</a></div><div class="ttdeci">EXPORT_SHARED_PTR(LIBTOOLS, CSafeLogs)</div><div class="ttdoc">解决Windows下的编译警告</div></div>
<div class="ttc" id="aclass_logs_html"><div class="ttname"><a href="class_logs.html">Logs</a></div><div class="ttdef"><b>Definition:</b> <a href="log_8h_source.html#l00067">log.h:67</a></div></div>
<div class="ttc" id="aclass_shared_ptr_html"><div class="ttname"><a href="class_shared_ptr.html">SharedPtr</a></div><div class="ttdoc">智能指针</div><div class="ttdef"><b>Definition:</b> <a href="_shared_ptr_8h_source.html#l00119">SharedPtr.h:119</a></div></div>
<div class="ttc" id="alogdef_8h_html"><div class="ttname"><a href="logdef_8h.html">logdef.h</a></div></div>
<div class="ttc" id="atools_8h_html_a201ce692c9dca6599e5c12d00167419b"><div class="ttname"><a href="tools_8h.html#a201ce692c9dca6599e5c12d00167419b">DEF_BEG_LIBTOOLS</a></div><div class="ttdeci">#define DEF_BEG_LIBTOOLS</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00036">tools.h:36</a></div></div>
<div class="ttc" id="aclass_log_factory_html_a2a20e26aee872e31ca8650240012ca5b"><div class="ttname"><a href="class_log_factory.html#a2a20e26aee872e31ca8650240012ca5b">LogFactory::g_SafeLogs</a></div><div class="ttdeci">static SharedPtr&lt; CSafeLogs &gt; g_SafeLogs</div><div class="ttdef"><b>Definition:</b> <a href="_log_factory_8h_source.html#l00065">LogFactory.h:65</a></div></div>
<div class="ttc" id="aclass_c_safe_logs_html"><div class="ttname"><a href="class_c_safe_logs.html">CSafeLogs</a></div><div class="ttdoc">线程安全日志操作类</div><div class="ttdef"><b>Definition:</b> <a href="_safe_log_8h_source.html#l00018">SafeLog.h:18</a></div></div>
<div class="ttc" id="atools_8h_html_a64152c8b939d1ce06c7c5cb6c97b62f8"><div class="ttname"><a href="tools_8h.html#a64152c8b939d1ce06c7c5cb6c97b62f8">LIBTOOLS</a></div><div class="ttdeci">#define LIBTOOLS</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00095">tools.h:95</a></div></div>
<div class="ttc" id="a_safe_log_8h_html_af5f39b12ec7524d513a48e9b662a445a"><div class="ttname"><a href="_safe_log_8h.html#af5f39b12ec7524d513a48e9b662a445a">DEFAULT_LOG_SIZE</a></div><div class="ttdeci">#define DEFAULT_LOG_SIZE</div><div class="ttdoc">默认的日志大小10M</div><div class="ttdef"><b>Definition:</b> <a href="_safe_log_8h_source.html#l00012">SafeLog.h:12</a></div></div>
<div class="ttc" id="alogdef_8h_html_aca1fd1d8935433e6ba2e3918214e07f9abb2c17c44c343a8367060db4175f39ea"><div class="ttname"><a href="logdef_8h.html#aca1fd1d8935433e6ba2e3918214e07f9abb2c17c44c343a8367060db4175f39ea">LOG_NORMAL</a></div><div class="ttdef"><b>Definition:</b> <a href="logdef_8h_source.html#l00013">logdef.h:13</a></div></div>
<div class="ttc" id="a_safe_log_8h_html_acf3ddfcd82496629d7ab869a57f2fedd"><div class="ttname"><a href="_safe_log_8h.html#acf3ddfcd82496629d7ab869a57f2fedd">DEFAULT_FLUSH_TIME</a></div><div class="ttdeci">#define DEFAULT_FLUSH_TIME</div><div class="ttdoc">默认每隔多长时间切换一次日志</div><div class="ttdef"><b>Definition:</b> <a href="_safe_log_8h_source.html#l00013">SafeLog.h:13</a></div></div>
<div class="ttc" id="atools_8h_html_ac909db71799bb22cb7d636a34cd785e4"><div class="ttname"><a href="tools_8h.html#ac909db71799bb22cb7d636a34cd785e4">DEF_END_LIBTOOLS</a></div><div class="ttdeci">#define DEF_END_LIBTOOLS</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00038">tools.h:38</a></div></div>
<div class="ttc" id="aclass_log_factory_html_ad013d71f5198402ec766f00aa28533c5"><div class="ttname"><a href="class_log_factory.html#ad013d71f5198402ec766f00aa28533c5">LogFactory::CreateLogs</a></div><div class="ttdeci">static SharedPtr&lt; Logs &gt; CreateLogs(bool bOpenFile)</div><div class="ttdef"><b>Definition:</b> <a href="_log_factory_8h_source.html#l00039">LogFactory.h:39</a></div></div>
<div class="ttc" id="aclass_log_factory_html_afa9464faa77b5b85c1b28b852b35e0f4"><div class="ttname"><a href="class_log_factory.html#afa9464faa77b5b85c1b28b852b35e0f4">LogFactory::CreateSafeLogs</a></div><div class="ttdeci">static SharedPtr&lt; CSafeLogs &gt; CreateSafeLogs()</div><div class="ttdef"><b>Definition:</b> <a href="_log_factory_8h_source.html#l00050">LogFactory.h:50</a></div></div>
<div class="ttc" id="alogdef_8h_html_aca1fd1d8935433e6ba2e3918214e07f9ab9f002c6ffbfd511da8090213227454e"><div class="ttname"><a href="logdef_8h.html#aca1fd1d8935433e6ba2e3918214e07f9ab9f002c6ffbfd511da8090213227454e">LOG_DEBUG</a></div><div class="ttdef"><b>Definition:</b> <a href="logdef_8h_source.html#l00012">logdef.h:12</a></div></div>
<div class="ttc" id="aclass_log_factory_html_a5fcd1893857b006220c70919d72d358c"><div class="ttname"><a href="class_log_factory.html#a5fcd1893857b006220c70919d72d358c">LogFactory::GetInstance</a></div><div class="ttdeci">static CSafeLogs &amp; GetInstance()</div><div class="ttdef"><b>Definition:</b> <a href="_log_factory_8h_source.html#l00055">LogFactory.h:55</a></div></div>
<div class="ttc" id="aclass_log_factory_html_a9c9749a0261848655106d9742fc9170b"><div class="ttname"><a href="class_log_factory.html#a9c9749a0261848655106d9742fc9170b">LogFactory::CreateLogs</a></div><div class="ttdeci">static SharedPtr&lt; Logs &gt; CreateLogs(int iLevel=LibTools::LOG_NORMAL, CPLOGSTR sPath=&quot;&quot;)</div><div class="ttdef"><b>Definition:</b> <a href="_log_factory_8h_source.html#l00034">LogFactory.h:34</a></div></div>
<div class="ttc" id="alog_8h_html"><div class="ttname"><a href="log_8h.html">log.h</a></div></div>
<div class="ttc" id="atools_8h_html_a57be03562867144161c1bfee95ca8f7c"><div class="ttname"><a href="tools_8h.html#a57be03562867144161c1bfee95ca8f7c">UINT64</a></div><div class="ttdeci">unsigned long long UINT64</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00130">tools.h:130</a></div></div>
<div class="ttc" id="atools_8h_html_a36cb3b01d81ffd844bbbfb54003e06ec"><div class="ttname"><a href="tools_8h.html#a36cb3b01d81ffd844bbbfb54003e06ec">UINT</a></div><div class="ttdeci">unsigned int UINT</div><div class="ttdef"><b>Definition:</b> <a href="tools_8h_source.html#l00139">tools.h:139</a></div></div>
<div class="ttc" id="aclass_log_factory_html_afaebf813e3bca3090cd3aa4ae9abbd86"><div class="ttname"><a href="class_log_factory.html#afaebf813e3bca3090cd3aa4ae9abbd86">LogFactory::CreateSafeLogs</a></div><div class="ttdeci">static SharedPtr&lt; CSafeLogs &gt; CreateSafeLogs(const TCHAR *szLogPath, LogLevel nLogLevel=LOG_DEBUG, UINT64 nFileMaxSize=DEFAULT_LOG_SIZE, UINT nfTime=DEFAULT_FLUSH_TIME)</div><div class="ttdef"><b>Definition:</b> <a href="_log_factory_8h_source.html#l00044">LogFactory.h:44</a></div></div>
<div class="ttc" id="a_safe_log_8h_html"><div class="ttname"><a href="_safe_log_8h.html">SafeLog.h</a></div></div>
<div class="ttc" id="aclass_log_factory_html"><div class="ttname"><a href="class_log_factory.html">LogFactory</a></div><div class="ttdoc">日志工具类</div><div class="ttdef"><b>Definition:</b> <a href="_log_factory_8h_source.html#l00031">LogFactory.h:31</a></div></div>
<div class="ttc" id="aclass_log_factory_html_afeb7a08f136dec51df1c97e254a14a3e"><div class="ttname"><a href="class_log_factory.html#afeb7a08f136dec51df1c97e254a14a3e">LogFactory::GetInstancePtr</a></div><div class="ttdeci">static CSafeLogs * GetInstancePtr()</div><div class="ttdef"><b>Definition:</b> <a href="_log_factory_8h_source.html#l00060">LogFactory.h:60</a></div></div>
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.16
</small></address>
</body>
</html>
